<?php get_header();?>
<div id="centerleft">
<div class="blocktitle"><h1>Tin tức cá rồng</h1></div>
<div class="blockcontent bodycontent">
<div class="clear" style="height:20px;"></div>

<?php $i=0; while ( have_posts() ) : the_post(); $i++?>
<div class="newsitem">	
	<a href="<?php echo get_permalink()?>"><?php echo the_post_thumbnail('medium',array('title'=>get_the_title(),'alt'=>get_the_title()) );?></a>
	<span class="newstitle"><a href="<?php echo get_permalink()?>"><h2><?php the_title()?></h2></a></span>
	<?php echo wp_trim_words($post->post_content,30)?>
</div>	
			
<div class="clear" style="height:20px;"></div>

<?php endwhile;?>	
<?php wp_pagenavi(); ?>
<div class="clear" style="height:20px;"></div>
</div>
</div>
<?php get_footer(); ?>